package com.example.huadu_server.appointment.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class ChangeDateDTO {
    // 预约 ID
    private Integer id;

    // 原档期 ID
    private Integer originalScheduleId;

    // 新档期 ID
    private Integer newScheduleId;

    // 新预约时间，格式为 "yyyy-MM-dd HH:mm"
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date newAppointmentDate;
}
